#pragma once
#include <Windows.h>
#include <Gdiplus.h>
#pragma comment(lib,"Gdiplus.lib")

namespace Gdiplus
{
	class GdiHelper
	{
	public:
		static GraphicsPath* CreateRoundRect(float x, float y, float width, float height, float radiusX, float radiusY);
		static GraphicsPath* CreateRoundRect(const RectF &rect, float radiusX, float radiusY)
		{
			return CreateRoundRect(rect.X, rect.Y, rect.Width, rect.Height, radiusX, radiusY);
		}
	};
}

